<div class="main">
	<div class="container">
		<div class="row">
<div class="header04 boxvalue item-top">
	<div class="col-md-6 item-bottom">
		<div class="box-value">
			<a href="{DT_PATH}"><img class="img-responsive" src="{DT_PATH}template/{$CFG[template]}/skin/images/logo.png"></a>
		</div>
	</div>
	<div class="col-md-2 hidden-sm hidden-xs"></div>
	<div class="col-md-4 item-bottom">
		<div class="box-value">
			<p class="hidden-sm hidden-xs item-bottom-min"><i class="fa fa-phone-square"></i> <a href="tel:{$DT[telephone]}">{$DT[telephone]}</a></p>
			<div class="search">
{php $searchid = ($moduleid > 3 && $MODULE[$moduleid]['ismenu'] && !$MODULE[$moduleid]['islink']) ? $moduleid : 5;}
<script language="javascript">
var searchid = {$searchid};
function headersearch(formobj){
	if (formobj.kw.value == ""){
		alert("请输入检索内容");
		return false;
	}
	return true;
}
</script>
				<table align="right">
					<form id="headersearch" method="get" action="{$MODULE[$searchid][linkurl]}search.php" onsubmit="return headersearch(this);">
					<input type="hidden" name="moduleid" value="{$searchid}">
					<input type="hidden" name="spread" value="0">
					<tbody>
						<tr>
							<td><i class="fa fa-search"></i></td>
							<td class="width_all"><input name="kw" type="text" value="{if $kw}{strip_tags($kw)}{/if}" placeholder="请输入检索内容"></td>
							<td>
								<select onchange="javascript:$('#headersearch').attr('action',this.value)">
								{loop $MODULE $m}
									{if $m[ismenu] && !$m[islink]}
									<option value="{$m[linkurl]}search.php"{if $searchid==$m[moduleid]} selected{/if}>{strip_tags($m[name])}</option>
									{/if}
								{/loop}
								</select>
							</td>
							<td class="button"><input type="submit" value="搜索"></td>
						</tr>
					</tbody>
					</form>
				</table>
			</div>
		</div>
	</div>
</div>
		</div>
	</div>
</div>